module TopicsHelper
  def topic_brief(topic)
    @topic = topic
    @topic_posts = BlogPost.visible_in_topic_to(@topic, current_user).limit(8)
    render :file => 'topics/topic_brief'
  end

  def left_bar_topics
    render :template => 'layouts/left_bar_topics'
  end
end
